/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.vivo.dealer.dao;

import com.thinkgem.jeesite.common.persistence.CrudDao;
import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao;
import com.vivo.dealer.entity.ViUserDealerPrivilege;

import java.util.List;

/**
 * 用户经销商权限DAO接口
 * @author jyangye
 * @version 2018-02-07
 */
@MyBatisDao
public interface ViUserDealerPrivilegeDao extends CrudDao<ViUserDealerPrivilege> {

    public void deleteByUserId(String userId);

    public void insertByBatch(List<ViUserDealerPrivilege> list);
}